﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Smartmanufact
{
    public partial class DeleteCutmoerconfig : Form
    {
        public string originid="";
        public DeleteCutmoerconfig()
        {
            InitializeComponent();
        }

        private void DeleteCutmoerconfig_Load(object sender, EventArgs e)
        {
            //MainView.mysql.excute_sql("");
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                MainView.mysql.excute_sql("delete from customertable where customerID='" + originid + "'");
                this.Dispose();
            }
            catch { }
        }
    }
}
